package com.gavin.test.bean;

import java.io.Serializable;

/**
 * ------------------------------
 * Automatic Generator
 * ------------------------------
 * @author wdm  @date 2018年01月26日
 * @version 1.0
 */
public class Redpackagedetail implements Serializable{

	private static final long serialVersionUID = -6138725224252957493L;
	private java.lang.Long id;
	private java.lang.Long parentId;
	private java.lang.Long userId;
	private java.lang.String name;
	private java.lang.Long money;
	private java.lang.Integer state;
	private java.lang.String createTime;
	private java.lang.Integer type;
	private java.lang.String offTime;
	private java.lang.String useEndTime;
	private java.lang.String useStartTime;
	private java.lang.String openTime;
	private java.lang.Integer count;
	private java.lang.Integer sortNumber;
	private java.lang.Integer totalNumber;
	private java.lang.String remark;

	public Redpackagedetail(){}
	
	 public  Redpackagedetail(java.lang.Long  id,java.lang.Long  parentId,java.lang.Long userId,java.lang.String  name,java.lang.Long  money,java.lang.Integer  state,java.lang.String offTime,java.lang.String  createTime,java.lang.Integer  type,java.lang.String  useEndTime,java.lang.String  useStartTime,java.lang.String  openTime,java.lang.Integer  count,java.lang.Integer  sortNumber,java.lang.Integer  totalNumber,java.lang.String  remark){
		 super();
		 this.id= id;
		 this.parentId= parentId;
		 this.userId = userId;
		 this.name= name;
		 this.money= money;
		 this.state= state;
		 this.createTime= createTime;
		 this.type= type;
		 this.offTime = offTime;
		 this.useEndTime= useEndTime;
		 this.useStartTime= useStartTime;
		 this.openTime= openTime;
		 this.count= count;
		 this.sortNumber= sortNumber;
		 this.totalNumber= totalNumber;
		 this.remark= remark;
	 }
	 
	public void setId(java.lang.Long id) {
		this.id = id;
	}
	
	public java.lang.Long getId() {
		return id;
	}

	public void setParentId(java.lang.Long parentId) {
		this.parentId = parentId;
	}
	
	public java.lang.Long getParentId() {
		return parentId;
	}
	
	

	public java.lang.Long getUserId() {
		return userId;
	}

	public void setUserId(java.lang.Long userId) {
		this.userId = userId;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}
	
	public java.lang.String getName() {
		return name;
	}

	public void setMoney(java.lang.Long money) {
		this.money = money;
	}
	
	public java.lang.Long getMoney() {
		return money;
	}

	public void setState(java.lang.Integer state) {
		this.state = state;
	}
	
	public java.lang.Integer getState() {
		return state;
	}


	public void setType(java.lang.Integer type) {
		this.type = type;
	}
	
	public java.lang.Integer getType() {
		return type;
	}
	

	public java.lang.String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.lang.String createTime) {
		this.createTime = createTime;
	}

	public java.lang.String getUseEndTime() {
		return useEndTime;
	}

	public void setUseEndTime(java.lang.String useEndTime) {
		this.useEndTime = useEndTime;
	}

	public java.lang.String getUseStartTime() {
		return useStartTime;
	}

	public void setUseStartTime(java.lang.String useStartTime) {
		this.useStartTime = useStartTime;
	}

	public java.lang.String getOpenTime() {
		return openTime;
	}

	public void setOpenTime(java.lang.String openTime) {
		this.openTime = openTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setCount(java.lang.Integer count) {
		this.count = count;
	}
	
	public java.lang.Integer getCount() {
		return count;
	}

	public void setSortNumber(java.lang.Integer sortNumber) {
		this.sortNumber = sortNumber;
	}
	
	public java.lang.Integer getSortNumber() {
		return sortNumber;
	}

	public void setTotalNumber(java.lang.Integer totalNumber) {
		this.totalNumber = totalNumber;
	}
	
	public java.lang.Integer getTotalNumber() {
		return totalNumber;
	}

	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}
	
	public java.lang.String getRemark() {
		return remark;
	}

	public java.lang.String getOffTime() {
		return offTime;
	}

	public void setOffTime(java.lang.String offTime) {
		this.offTime = offTime;
	}

	@Override
	public String toString() {
		return "Redpackagedetail [id=" + id + ", parentId=" + parentId + ", name=" + name + ", money=" + money
				+ ", state=" + state + ", createTime=" + createTime + ", type=" + type + ", offTime=" + offTime
				+ ", useEndTime=" + useEndTime + ", useStartTime=" + useStartTime + ", openTime=" + openTime
				+ ", count=" + count + ", sortNumber=" + sortNumber + ", totalNumber=" + totalNumber + ", remark="
				+ remark + "]";
	}

	
	

}